home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / modal-dialog-sample ƒ / modal-dialog-sample..doc < prev   
Encoding:
Text File  |  1994-06-24  |  827 b   |  24 lines  |  [TEXT/EDIT]

  1. cat modal-dialog-sample.hqx
  2. Date: Sat, 26 Oct 91 14:39:18 -0600 
  3. From: wieser@acs.ucalgary.ca (Bernie Wieser)
  4. Subject: Small code submission? 
  5.  
  6.  
  7. A person on the net recently asked me to show him my dialog handling code from
  8. UUTool.  Since this might be of educational interest to others, I would
  9. like to submit a sample to the archives.
  10.  
  11. The enclosed code handles a modal dialog which has three buttons and two
  12. edit text fields.  The buttons are standard okay, cancel, and save.  One
  13. edit text field only accepts letters, the other only numbers.  The dialog
  14. code includes proper filters, screen update handlers, and default
  15. key handlers.  Most of it is reusable, modular, C code which can be
  16. put in peoples libraries.
  17.  
  18. The example is in THINK C.  If you like/use it, send me e-mail.
  19.  
  20. Bernie Wieser
  21. (403)259-4907
  22. ~r Dlog.hqx
  23.   
  24.